import { login, getInfo, logout, getUserInfo } from './user'
import {
  getDepartments,
  delDepartments,
  addDepartments,
  getDepartDetail,
  updateDepartments
} from './departments'
import { getEmployeeSimple, getEmployeeList } from './employees'
import {
  getRoleList,
  getCompanyInfo,
  addRole,
  updateRole,
  deleteRole,
  getRoleDetail,
  changePermids
} from './setting'
import { permissAll, getpermiss } from './permission'
export const loginAPI = login
export const getInfoAPI = getInfo
export const logoutAPI = logout
export const getUserInfoPAI = getUserInfo
export const getDepartmentsAPI = getDepartments
export const delDepartmentsAPI = delDepartments
export const addDepartmentsAPI = addDepartments
export const getEmployeeSimpleAPI = getEmployeeSimple
export const getDepartDetailAPI = getDepartDetail
export const updateDepartmentsAPI = updateDepartments
export const getRoleListAPI = getRoleList
export const getCompanyInfoAPI = getCompanyInfo
export const addRoleAPI = addRole
export const updateRoleAPI = updateRole
export const deleteRoleAPI = deleteRole
export const getRoleDetailAPI = getRoleDetail
export const changePermidsAPI = changePermids
export const permissAllAPI = permissAll
export const getpermissAPI = getpermiss
export const getEmployeeListAPI = getEmployeeList
